package com.ahdms.es.exceptions;

/**
 * 电子印章有效期失败异常
 * @author qinxiang
 * @date 2021-04-13 14:42
 */
public class InvalidSealDateException extends VerifySealException{

    private String reason;
    private Integer code;

    public InvalidSealDateException(String reason) {
        super(reason);
        this.reason = reason;
    }

    public InvalidSealDateException(String reason, Throwable cause) {
        super(reason, cause);
        this.reason = reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getCode() {
        return this.code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getReason() {
        return this.reason;
    }

}
